SonarQube Connector
SonarQube Connector
Overview
SyncNow's DevOps Gate feature allows work systems to use SyncNow endpoints to enrich other connected work systems. SyncNow supports enriching work systems from SonarQube. Once a DevOps Gate process is defined, SyncNow can parse information received from SonarQube and set it in an entity on the target work systems. The DevOps Gate process includes mapping between a field received from SonarQube to the target work system field.
SonarQube Connector Features
The SonarQube connector reads and parses SonarQube webhook data and updates target systems accordingly. This allows you to enrich target systems such as JIRA with code quality information from SonarQube.
Setting Up the SonarQube System Connector
To set up the SonarQube connector, follow these steps:
-
Navigate to Systems Page
- Go to the Systems page in the SyncNow application.
-
Add a New System
- Press the
Add System
button.
- Press the
-
Set Connector Name
- Input a preferable name for the connection.
-
Select Connector Type
- Select “SonarQube” from the Type dropdown.
-
Configure Self-Signed Certificates
- Enable or disable the Allow Self-Signed Certificates toggle. This is important when the system API is under HTTP, not HTTPS.
-
Input SonarQube Instance URL
- Input the URL to your SonarQube instance.
-
Set Authentication Details
- Input the Username for authentication.
- Add an Access Token to the instance. Follow the Create API token guide.
-
Configure Webhook Security
- Select a webhook security option. SyncNow supports IP restriction and secret key authentication. Learn more about webhook security.
-
Verify Connection
- Press the
Verify Connection
button to check if the connection is established successfully.
- Press the
-
Save the Connection
- Press the
Save
button.
A new system connector has been created.
Example: Enriching JIRA with SonarQube Data
DevOps Gate processes can use the SonarQube Connector to enrich target systems like JIRA. SyncNow will parse information received from SonarQube webhooks and update the corresponding entities in JIRA with code quality information.
For a detailed example of setting up the SonarQube Connector and enriching JIRA, refer to the example guide.
Compatibility
The SonarQube Connector supports SonarQube version 7.9 and later.